home *** CD-ROM | disk | FTP | other *** search
-
- Sub Main()
-
- Dim ReturnValue As Integer
- Dim RuntimeValue As String
-
- Dim MySession As New Session
- MySession.TypeText ""+Chr$( 3 )+""
-
- ReturnValue = MySession.WaitForPrompt( "ser ID: "+Chr$( 0 ), 500, 100000 )
- RuntimeValue = MySession.GetRuntimeValue( DC_RV_USERID, TRUE )
- MySession.TypeText RuntimeValue
-
- ReturnValue = MySession.WaitForPrompt( "Password: "+Chr$( 0 ), 500, 100000 )
- RuntimeValue = MySession.GetRuntimeValue( DC_RV_PASSWORD, TRUE )
- MySession.TypeText RuntimeValue
-
- Exit Sub
-
- End Sub
-
-